<?php
namespace app\admin\validate;

use think\Validate;

class Signin extends Validate
{
    protected $rule = [
        'signinIntegral'         => 'require|number|max:5',
    ];

    protected $message = [
        'signinIntegral.require'         => '请设置积分',
        'signinIntegral.number'         => '积分必须为数字',
        'signinIntegral.max'         => '积分最多不能超过5位数',
    ];
}